
\documentclass{standalone}
\usepackage{pgfplots}
    \pgfplotsset{compat=1.12}

% \usetikzlibrary{}
\usepgfplotslibrary{statistics}

\begin{document}

% THIS does the assertions!
\directlua{require 'unittest_boxplots'}

\begin{tikzpicture}
	\begin{axis}
	\addplot+[boxplot]
    table[row sep=\\,y index=0] {
    data\\
    1\\ 2\\ 1\\ 5\\ 4\\ 10\\
    7\\ 10\\ 9\\ 8\\ 9\\ 9\\
};
	\end{axis}
\end{tikzpicture}
\begin{tikzpicture}
	\begin{axis}[compat=1.11]
	\addplot+[boxplot]
    table[row sep=\\,y index=0] {
    data\\
    1\\ 2\\ 1\\ 5\\ 4\\ 10\\
    7\\ 10\\ 9\\ 8\\ 9\\ 9\\
};
	\end{axis}
\end{tikzpicture}
\end{document}
